| Filename | (eval 297)[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Sub/Quote.pm:3] |
| Statements | Executed 157069 statements in 154ms |
| Eval Invoked At | /Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Sub/Quote.pm line 3 |
| Sibling evals | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113 |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 39230 | 4 | 4 | 117ms | 117ms | JSON::Schema::Modern::Document::_assert_resource_index |
| 1 | 1 | 1 | 12µs | 31µs | JSON::Schema::Modern::Document::BEGIN@7.137 |
| 1 | 1 | 1 | 4µs | 4µs | Method::Generate::Accessor::_Generated::BEGIN@12.138 |
| 1 | 1 | 1 | 2µs | 11µs | Method::Generate::Accessor::_Generated::BEGIN@24.139 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | { | ||||
| 2 | 2 | 1µs | my $_UNQUOTED = ${$_[1]->{"\$_UNQUOTED"}}; | ||
| 3 | 1 | 1µs | my $_QUOTED = ${$_[1]->{"\$_QUOTED"}}; | ||
| 4 | 1 | 0s | my $isa_check_for_resource_5findex = ${$_[1]->{"\$isa_check_for_resource_5findex"}}; | ||
| 5 | 1 | 0s | my $default_for_resource_5findex = ${$_[1]->{"\$default_for_resource_5findex"}}; | ||
| 6 | package JSON::Schema::Modern::Document; | ||||
| 7 | 2 | 39µs | 2 | 50µs | # spent 31µs (12+19) within JSON::Schema::Modern::Document::BEGIN@7.137 which was called:
# once (12µs+19µs) by Sub::Quote::_clean_eval at line 7 # spent 31µs making 1 call to JSON::Schema::Modern::Document::BEGIN@7.137
# spent 19µs making 1 call to warnings::unimport |
| 8 | # spent 117ms (117+29µs) within JSON::Schema::Modern::Document::_assert_resource_index which was called 39230 times, avg 3µs/call:
# 39138 times (116ms+0s) by JSON::Schema::Modern::Document::resource_pairs at line 17 of (eval 296)[Sub/Quote.pm:3], avg 3µs/call
# 44 times (249µs+29µs) by JSON::Schema::Modern::Document::_get_resource at line 17 of (eval 294)[Sub/Quote.pm:3], avg 6µs/call
# 36 times (76µs+0s) by JSON::Schema::Modern::Document::_add_resources at line 17 of (eval 292)[Sub/Quote.pm:3], avg 2µs/call
# 12 times (28µs+0s) by JSON::Schema::Modern::Document::_canonical_resources at line 17 of (eval 293)[Sub/Quote.pm:3], avg 2µs/call | ||||
| 9 | ($_QUOTED,$_UNQUOTED) if 0; | ||||
| 10 | # BEGIN quote_sub PRELUDE | ||||
| 11 | package Method::Generate::Accessor::_Generated; | ||||
| 12 | # spent 4µs within Method::Generate::Accessor::_Generated::BEGIN@12.138 which was called:
# once (4µs+0s) by Sub::Quote::_clean_eval at line 17 | ||||
| 13 | 1 | 0s | $^H = 2018; | ||
| 14 | 1 | 0s | ${^WARNING_BITS} = "UUUUUUUUUUUUUUUUUUUU"; | ||
| 15 | 1 | 3µs | %^H = ( | ||
| 16 | ); | ||||
| 17 | 1 | 26µs | 1 | 4µs | } # spent 4µs making 1 call to Method::Generate::Accessor::_Generated::BEGIN@12.138 |
| 18 | # END quote_sub PRELUDE | ||||
| 19 | 39230 | 91.1ms | do { | ||
| 20 | my $val = exists $_[0]->{"resource_index"} ? | ||||
| 21 | $_[0]->{"resource_index"} | ||||
| 22 | 39230 | 38.1ms | : do { | ||
| 23 | 15 | 36µs | 15 | 29µs | my $value = $default_for_resource_5findex->($_[0]); # spent 29µs making 15 calls to JSON::Schema::Modern::Document::__ANON__[JSON/Schema/Modern/Document.pm:78], avg 2µs/call |
| 24 | 107 | 346µs | 2 | 20µs | # spent 11µs (2+9) within Method::Generate::Accessor::_Generated::BEGIN@24.139 which was called:
# once (2µs+9µs) by Sub::Quote::_clean_eval at line 24 # spent 11µs making 1 call to Method::Generate::Accessor::_Generated::BEGIN@24.139
# spent 9µs making 1 call to warnings::unimport |
| 25 | 15 | 17µs | $_[0]->{"resource_index"} = $value | ||
| 26 | } | ||||
| 27 | ; | ||||
| 28 | 39230 | 15.0ms | exists $_[0]->{"resource_index"} | ||
| 29 | or Carp::croak(q{Attempted to access '}."resource_index".q{' but it is not set}); | ||||
| 30 | 39230 | 9.74ms | $val; | ||
| 31 | } | ||||
| 32 | } | ||||
| 33 | 1 | 1µs | $$_UNQUOTED = \&_assert_resource_index; | ||
| 34 | } | ||||
| 35 | 1 | 4µs | 1; | ||
| 36 | |||||
| 37 | ; |